package com.engr.lyx.blog.biz.service;

import com.engr.lyx.blog.client.entity.Tag;

import java.util.List;
import java.util.Optional;

/**
 * @program: blog
 * @desc: tag
 * @author: lyx
 * @date: 2019-03-27 17:59
 **/
public interface TagService {


    /**
     * 查找用户所有标签
     *
     * @param userId
     * @return
     */
    List<Tag> selectTagsByUserId(Long userId);

    /**
     * 根据tagId查找
     *
     * @param tagId tagId
     * @return
     */
    Tag selectTagById(long tagId);

}
